﻿<%@ Control Language="C#" Inherits="Yuanlin.Business.CompanyGreenNumListControl, Yuanlin.Business"
    AutoEventWireup="true" %>

<fieldset>
    <legend>绿商号管理</legend>
    <asp:Repeater ID="list" runat="server">
        <HeaderTemplate>
            <table border="0" cellpadding="0" cellspacing="0" class="AdminTable">
                <thead>
                    <tr>
                        <th class="TitleCol">
                            绿商号</th>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td class="TitleCol">
                       <%# DataBinder.Eval(Container.DataItem, "GreenNum")%>
               </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody> </table>
            <div class="FormRow ButtonRow">
                <input type="button" class="Button" onclick="<%= "window.location.href='" + SiteUrls.Instance().GetCompanyGreenNumAddUrl() + "';" %>"
                    value="添加" />
            </div>
        </FooterTemplate>
    </asp:Repeater>
    <div class="PagingWrapper">
        <asp:Panel runat="server" align="right" CssClass="CommonPagingArea">
            <nwap:CurrentPage Cssclass="columnText" id="currentPage" runat="server" />
            <nwap:Pager id="pager" runat="server" PageSize="20" />
        </asp:Panel>
    </div>
</fieldset>
